package com.gemini.main.common.bean;

import lombok.Getter;
import lombok.Setter;

public enum ResultCode {

    SUCCESS(200), //成功
    FAIL(400), //失败
    UNAUTHORIZED(401),  //未认证
    NOT_FOUND(404),   //未找到
    INTERNAL_SERVER_ERROR(500); // 服务器错误

    @Getter
    @Setter
    public int code;

    ResultCode(int code) {
        this.code = code;
    }
}
